home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / MAIL.XPI / bin / chrome / messenger.jar / content / messenger / am-offline.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-07-25  |  7.1 KB  |  153 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.  
  5.  ***** BEGIN LICENSE BLOCK *****
  6.  Version: MPL 1.1/GPL 2.0/LGPL 2.1
  7.  
  8.  The contents of this file are subject to the Mozilla Public License Version
  9.  1.1 (the "License"); you may not use this file except in compliance with
  10.  the License. You may obtain a copy of the License at
  11.  http://www.mozilla.org/MPL/
  12.  
  13.  Software distributed under the License is distributed on an "AS IS" basis,
  14.  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  15.  for the specific language governing rights and limitations under the
  16.  License.
  17.  
  18.  The Original Code is mozilla.org Code.
  19.  
  20.  The Initial Developer of the Original Code is
  21.  Netscape Communications Corporation.
  22.  Portions created by the Initial Developer are Copyright (C) 1998-2001
  23.  the Initial Developer. All Rights Reserved.
  24.  
  25.  Contributor(s):
  26.    dianesun@netscape.com
  27.    stefan@borggraefe.com
  28.  
  29.  Alternatively, the contents of this file may be used under the terms of
  30.  either of the GNU General Public License Version 2 or later (the "GPL"),
  31.  or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  32.  in which case the provisions of the GPL or the LGPL are applicable instead
  33.  of those above. If you wish to allow use of your version of this file only
  34.  under the terms of either the GPL or the LGPL, and not to allow others to
  35.  use your version of this file under the terms of the MPL, indicate your
  36.  decision by deleting the provisions above and replace them with the notice
  37.  and other provisions required by the GPL or the LGPL. If you do not delete
  38.  the provisions above, a recipient may use your version of this file under
  39.  the terms of any one of the MPL, the GPL or the LGPL.
  40.  
  41.  ***** END LICENSE BLOCK ***** -->
  42.  
  43. <?xml-stylesheet href="chrome://messenger/skin/accountManage.css" type="text/css"?>
  44.  
  45. <?xul-overlay href="chrome://messenger/content/msgFolderPickerOverlay.xul"?>
  46.  
  47. <!DOCTYPE page SYSTEM "chrome://messenger/locale/am-offline.dtd">
  48.  
  49. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  50.       onload="parent.onPanelLoaded('am-offline.xul');">
  51.  
  52.     <stringbundle id="bundle_prefs" src="chrome://messenger/locale/prefs.properties"/> 
  53.  
  54.     <script type="application/x-javascript" src="chrome://messenger/content/AccountManager.js"/>
  55.     <script type="application/x-javascript" src="chrome://messenger/content/retention.js"/>
  56.     <script type="application/x-javascript" src="chrome://messenger/content/am-offline.js"/>
  57.     
  58.     <broadcaster id="bc_notDownload"/>
  59.     <broadcaster id="bc_downloadMsg"/>
  60.     <broadcaster id="bc_removeBody"/>
  61.  
  62.     <label hidden="true" wsm_persist="true" id="server.type"/>  
  63.  
  64.     <dialogheader id="headertitle"/>
  65.  
  66.     <groupbox id="offline.titlebox" hidefor="movemail,pop3,none">
  67.       <caption label="&offlineGroupTitle.label;"/>
  68.  
  69.     <description hidefor="movemail,pop3">&offlineDesc.label;</description>
  70.  
  71.     <checkbox hidefor="movemail,pop3,nntp,none" 
  72.               id="offline.downloadBodiesOnGetNewMail" wsm_persist="true" 
  73.               label="&makeInboxMsgsAvailable.label;" 
  74.               accesskey="&makeInboxMsgsAvailable.accesskey;"/>
  75.  
  76.     <checkbox hidefor="movemail,pop3,nntp,none" 
  77.               id="offline.newFolder" label="&offlineNewFolder.label;" 
  78.               accesskey="&offlineNewFolder.accesskey;"/>
  79.  
  80.     <separator class="thin" hidefor="movemail,pop3,nntp,none"/>
  81.  
  82.     <hbox hidefor="movemail,pop3,nntp,none" align="right">
  83.         <button label="&offlineSelectImap.label;" accesskey="&offlineSelect.accesskey;"
  84.                 oncommand="onClickSelect()" id="selectImapFoldersButton" class="selectForOfflineUseButton"/>
  85.     </hbox>
  86.  
  87.     <hbox hidefor="movemail,pop3,imap,none" align="right">
  88.         <button label="&offlineSelectNntp.label;" accesskey="&offlineSelect.accesskey;"
  89.                 oncommand="onClickSelect()" id="selectNewsgroupsButton" class="selectForOfflineUseButton"/>
  90.     </hbox>
  91.  
  92.     </groupbox>    
  93.     
  94.     <groupbox id="diskspace.titlebox">
  95.       <caption label="&diskspaceGroupTitle.label;" hidefor="movemail,pop3,none"/>
  96.  
  97.     <description hidefor="pop3,movemail,none">&doNotDownload.label;</description>
  98.     <description hidefor="imap,nntp,none">&doNotDownloadPop3Movemail.label;</description>
  99.     
  100.     <hbox align="center" class="indent">
  101.         <checkbox hidefor="movemail,pop3,imap,none" wsm_persist="true" id="nntp.notDownloadRead"
  102.                   label="&nntpNotDownloadRead.label;" accesskey="&nntpNotDownloadRead.accesskey;"/>
  103.     </hbox>
  104.  
  105.     <hbox align="center" class="indent" hidefor="none">
  106.         <checkbox  wsm_persist="true" id="offline.notDownload"
  107.             label="&offlineNotDownload.label;" accesskey="&offlineNotDownload.accesskey;" oncommand="onCheckItem('bc_notDownload', 'offline.notDownload');"/>
  108.         <textbox wsm_persist="true" id="offline.notDownloadMin" size="2" value="50"  observes="bc_notDownload"/> 
  109.         <label value="&kb.label;"/>
  110.     </hbox>
  111.  
  112.     <hbox align="center" class="indent" hidefor="movemail,pop3,imap,none">
  113.         <checkbox wsm_persist="true" id="nntp.downloadMsg" label="&nntpDownloadMsg.label;" accesskey="&nntpDownloadMsg.accesskey;" oncommand="onCheckItem('bc_downloadMsg', 'nntp.downloadMsg');"/>
  114.         <textbox wsm_persist="true" id="nntp.downloadMsgMin" size="2" value="30" observes="bc_downloadMsg"/>
  115.         <label value="&daysOld.label;"/>
  116.     </hbox>
  117.  
  118.     <vbox align="start">  
  119.     <separator hidefor="none"/>
  120.     <description id="retentionDescription" hidefor="" class="desc">&retentionCleanup.label;</description>
  121.  
  122.     <radiogroup wsm_persist="true" hidefor="" id="retention.keepMsg" class="indent">
  123.         <radio wsm_persist="true" id="retention.keepAllMsg" value="1" accesskey="&retentionKeepAll.accesskey;"
  124.             label="&retentionKeepAll.label;" oncommand="onCheckKeepMsg();"/>
  125.         <hbox flex="1" align="center">
  126.             <radio wsm_persist="true" id="retention.keepNewMsg" accesskey="&retentionKeepNew.accesskey;" 
  127.                 value="3" label="&retentionKeepNew.label;" oncommand="onCheckKeepMsg();"/>
  128.             <textbox wsm_persist="true" id="retention.keepNewMsgMin" size="2" value="30"/>
  129.             <label value="&message.label;"/>
  130.         </hbox>
  131.         <hbox flex="1" align="center">
  132.             <radio wsm_persist="true" id="retention.keepOldMsg" accesskey="&retentionKeepMsg.accesskey;"
  133.                 value="2" label="&retentionKeepMsg.label;" oncommand="onCheckKeepMsg();"/>
  134.             <textbox wsm_persist="true" id="retention.keepOldMsgMin" size="2" value="30"/>
  135.             <label value="&daysOld.label;"/>
  136.         </hbox>
  137.     </radiogroup>
  138.  
  139.     <hbox align="center" class="indent">
  140.         <checkbox wsm_persist="true" id="retention.keepUnread" accesskey="&retentionKeepUnread.accesskey;"
  141.             label="&retentionKeepUnread.label;" hidefor="" checked="true"/>
  142.     </hbox>
  143.     <hbox align="center" class="indent" hidefor="movemail,pop3,imap,none">
  144.         <checkbox wsm_persist="true" id="nntp.removeBody" accesskey="&nntpRemoveBody.accesskey;"
  145.             label="&nntpRemoveBody.label;" oncommand="onCheckItem('bc_removeBody','nntp.removeBody');"/>
  146.         <textbox wsm_persist="true" id="nntp.removeBodyMin" size="2" value="30" observes="bc_removeBody"/>
  147.         <label value="&daysOld.label;"/>
  148.     </hbox>
  149.     </vbox>
  150.     </groupbox>
  151.    
  152. </page>
  153.